package com.histone.grab_ticket.repo;

import com.histone.grab_ticket.entity.TicketEntity;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TicketDao extends CrudRepository<TicketEntity, String> {
    public List<TicketEntity> findByContact(String contact);
}
